<!DOCTYPE html>
<html lang="en">

<head>
    <meta charset="UTF-8">
    <meta name="viewport" content="width=device-width, initial-scale=1.0,maximum-scale=1,minimum-scale=1,user-scalable=no">
    <meta http-equiv="X-UA-Compatible" content="ie=edge">
    <title>可删除页面</title>
</head>

<body>

    <script src="./style/jquery-2.2.2.js"></script>

    <!-- 测试demo6.js的koa-bodyparser是否单单只支持formData的处理，其实，都是可以处理的，只要是POST都可以 -->
    <script>
        // location.href = '/index.html';
        var data_val = {
            "sessionKey": "string",
            "systemType": "string",
            "systemVersion": "string",
            "userBy": "string",
            "name":'Dfei'
        }
        $.ajax({
            type: 'post',           
            // url: 'http://10.0.0.153:21102/account-service/api/user/v1/getAppidRedirecturl',
            url:'http://127.0.0.1:3000',
            contentType: 'application/json;charset=UTF-8',
            data: JSON.stringify(data_val),
            beforeSend: function() {
                console.log(666);
            },
            success: function(res) {
                console.log(res);
            }
        })
    </script>
</body>

</html>